Skip to main content

Mandate Request

Introduction

Describe steps and needful files to send mandate for licence check to driver app-user, web mandate-check and web licence-collection check.

Functions involved to send mandate

  • pubsub.updateMandateRequest

    • scheduler to send mandate for each driver of particular lease company,
  • driver.resendWebMandate

    • function to resend mandate on security code failure, licence number validation failure, adding duplicate licence number.
  • driver.clearMandateDataDriver

    • function to clear mandate data, such as lastMandateTime, mandateRequestDate.

Conditions to send mandate

  • need to satisfied following conditions to send mandate

    • lastMandateTime should ne before three years ago.

    • mandateRequestDate should be null from driver doc.

    • manualMandate should be false.

    • disqualification should ne false.

    • mandateSignDate should be null or three years ago.

    • driver endDate should be greater then today.

    • subCustomer enableLicenseCheck should be true.

    • driver enableLicenseCheck should be true.

    • To send LICENCE_CHECKING_MANDATE

      • need at-least one GBR licence
    • To send LICENCE_NUMBER_COLLECTION

      • enable allowLicenceNumberCollection from sub-customer.
Status: Accepted
Category: Protected
Authored By: Meet Shah on June 16, 2023
Revisions